﻿<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>调用复选框后面的文字</title>
</head>
<body>
<form name="frm">
    <input type="checkbox" id="checkList" name="checkList" 
           onclick="window.alert(nextSibling.innerText);">
    <label for="checkList">这是后面的文字</label>
</form>
</body>
</html>